home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 July / Disc 1 / PCU0703CD1.iso / software / online / files / imacros.exe / WSH-DATASOURCE.IIM < prev    next >
Encoding:
Text File  |  2002-10-24  |  688 b   |  12 lines

  1. VERSION BUILD=300003     
  2. 'Uses a Windows script to submit several datasets to a website, e. g. for filling an online database
  3. URL GOTO=http://www.iopus.com/iim/testform.html  
  4. ' The folling line is only a safeguard. If the macro is NOT started with a command line or script parameter
  5. ' it takes the wsh-datasource-1.txt  as default value.
  6. CMDLINE !DATASOURCE wsh-datasource-1.txt 
  7. ' Fill web form 
  8. TAG TYPE=INPUT:TEXT FORM=NAME:TestForm2 ATTR=NAME:Name CONTENT={{dataset-title}}
  9. TAG TYPE=TEXTAREA FORM=NAME:TestForm2 ATTR=NAME:Remarks CONTENT={{dataset-item1}} 
  10. ' Submit Data
  11. TAG TYPE=INPUT:SUBMIT FORM=NAME:TestForm2 ATTR=NAME:SendButton&&VALUE:Click<SP>to<SP>order<SP>now  
  12.